Skip to main content

mergDocShowOptionsMenu

Type

command

Summary

Presents an action sheet on iPhone and popover on iPad showing the options for the document type

Syntax

mergDocShowOptionsMenu <pFilePath>, [<pPopoverRect>]

Description

Important

There is a known issue with this command on iPad. Because of the order of delegate calls this command will not block after if the user chooses the Open In... menu item from the popover. This means the user may still be interacting with the open in menu when the command returns.

Parameters

NameTypeDescription

pFilePath

the full path of the document.

pPopoverRect

(optional with "" default) the rect that the iPad popover should show from, this will default to the target's rect so in most cases won't need to be set.

Examples

mergDocShowOptionsMenu specialFolderPath("engine")&"/pdfs/help.pdf"
mergDocShowOptionsMenu specialFolderPath("engine")&"/pdfs/help.pdf",the rect of grc "popoverfromehere"

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?